<template>
	<view>
		<back :showBackText="false" customClass="bg-gradual-blue text-white" :title="title"></back>
		<view class="flex flex-direction" style="min-height: 100vh;">
			<view class="flex-sub" style="margin-bottom: 270rpx;">
				<view class="cu-list menu" v-if="isLoad">
					<view class="cu-item margin-top-xs" v-for="(item, index) in paperList" :key="index" :data-id="item.id"
						@tap="itemTap(item)">
						<view>
							<text class="cuIcon-post text-orange"></text>
						</view>
						<view class="content" style="padding: 12px 6px 10px 10px;line-height: 2em;">
							<text class="paper-name text-sm">{{item.name}}</text>
						</view>
						<view class="action">
							<text class="text-grey" style="font-size: 24rpx;">{{item.question_count}}题</text>
						</view>
					</view>
				</view>
				<empty v-if="(isLoad  && paperList.length <= 0)"></empty>
			</view>
			<adfootbanner></adfootbanner>
		</view>
	</view>
</template>
<style src="./paper.css"></style>
<script src="./paper.js"></script>